﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Things.Web.CropsProductProgress
{
    public partial class Show : Page
    {
        public string strid = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
                {
                    strid = Request.Params["id"];
                    Guid ProductProgressID = new Guid(strid);
                    ShowInfo(ProductProgressID);
                }
            }
        }

        private void ShowInfo(Guid ProductProgressID)
        {
            Things.BLL.CropsProductProgress bll = new Things.BLL.CropsProductProgress();
            Things.Model.CropsProductProgress model = bll.GetModel(ProductProgressID);
            this.lblProductProgressID.Text = model.ProductProgressID.ToString();
            this.lblProductProgressName.Text = model.ProductProgressName;
            this.lblProductProgressOrder.Text = model.ProductProgressOrder.ToString();
            this.lblIsDeleted.Text = model.IsDeleted ? "是" : "否";

        }


    }
}
